package com.taotao.service;

import com.taotao.pojo.EasyUITreeNode;
import com.taotao.pojo.TaotaoResult;

import java.util.List;

/**
 * Created by caiyinli on 2018/8/22.
 */
public interface ContentCategoryService {

    List<EasyUITreeNode> getCategoryList(Long parentId);

    TaotaoResult insertContentCategory(Long parentId,String name);

    TaotaoResult deleteContentCategory(Long parentId,Long id);

    TaotaoResult updateContenCategory(Long id,String name);
}
